<#import "/ftl/mainAdmin.ftl" as page>

<@page.mainTemplate styleSheet="sysSettingCss" jsFile="sysSettingJs" current="参数配置">
	<!-- BEGIN CONTENT BODY -->
    <div class="page-content">
    	<!-- BEGIN PAGE HEAD-->
         <div class="page-head">
            <!-- BEGIN PAGE TITLE -->
            <div class="page-title">
                <h1>编辑参数设置
                    <small>编辑参数设置页面</small>
                </h1>
            </div>
            <!-- END PAGE TITLE -->
        </div>
        <!-- END PAGE HEAD-->
        <!-- BEGIN PAGE BREADCRUMB -->
        <ul class="page-breadcrumb breadcrumb">
        	<li>
                <a href="${context}/base/index_ftl">首页</a>
                <i class="fa fa-circle"></i>
            </li>
            <li>
                <span class="active">编辑参数设置信息</span>
            </li>
        </ul>
        <!-- END PAGE BREADCRUMB -->
        <!-- BEGIN PAGE BASE CONTENT -->
        <div class="row">
            <div class="portlet light bordered">
                <div class="portlet-title">
                    <div class="caption">
                        基本信息</div>
                </div>
                <div class="portlet-body form edit-form">
                    <form action="javascript:;" class="horizontal-form createform" id="sysSettingForm" >
                            <input type="hidden" id="id"  name="id" value="${systemConfigVO.id}"/>  
                            <div class="form-body">
	                            <div class="alert alert-danger display-hide">
	                                <button class="close" data-close="alert"></button> 表单含有错误. 请检查. 
	                            </div>
	                            <div class="alert alert-success display-hide">
	                                <button class="close" data-close="alert"></button> 表单验证通过! 
	                            </div>
	                            <div class="row">
	                                <div class="col-md-6">
	                                    <div class="form-group">
	                                        <div class="input-group">
	                                            <label class="input-group-addon">参数编码</label>
	                                            <div class="input-group-content">
	                                                  <input type="text" class="form-control" readonly placeholder="参数编码" name="config_code" value="${systemConfigVO.config_code}"> 
	                                            </div>
	                                        </div>
	                                    </div>
	                                </div>
	                                <!--/span-->
	                                <div class="col-md-6">
	                                    <div class="form-group">
	                                        <div class="input-group">
	                                            <label class="input-group-addon">参数名称</label>
	                                            <div class="input-group-content">
	                                                  <input type="text" class="form-control" placeholder="参数名称" name="config_name" value="${systemConfigVO.config_name}"> 
	                                            </div>
	                                        </div>
	                                    </div>
	                                </div>
	                            </div>
	                             <div class="row">
	                                <div class="col-md-6">
	                                    <div class="form-group">
	                                        <div class="input-group">
	                                            <label class="input-group-addon">参数类型</label>
	                                            <div class="input-group-content">
	                                                  <select class="form-control input-inline" name="config_type_" >
					                                    		<option value="">${type_name}</option>
					                                  </select> 
	                                            </div>
	                                        </div>
	                                    </div>
	                                </div>
	                            </div>
	                            <div class="row">
	                            	<div class="col-md-12">
	                                    <div class="form-group">
	                                        <div class="input-group intro-content">
	                                            <label class="input-group-addon">参数值</label>
	                                            <div class="input-group-content">
	                                                <textarea class="form-control" name="config_value" placeholder="参数值" >${systemConfigVO.config_value}</textarea>
	                                            </div>
	                                        </div>
	                                    </div>
	                                </div>
	                                <!--/span-->
	                           	</div>
	                           	<div class="row">
	                            	<div class="col-md-12">
	                                    <div class="form-group">
	                                        <div class="input-group intro-content">
	                                            <label class="input-group-addon">备注</label>
	                                            <div class="input-group-content">
	                                                <textarea class="form-control" name="config_desc" placeholder="备注" >${systemConfigVO.config_desc}</textarea>
	                                            </div>
	                                        </div>
	                                    </div>
	                                </div>
	                                <!--/span-->
	                           	</div>
                            </div>
                            <div class="form-actions top">
                                <div class="row">
                                    <div class="col-md-offset-5 col-md-7">
                                        <button type="submit" class="btn green" id="sysSettingSave">保存</button>
                                        <a href="${context}/systemConfig/showindex" class="btn default">返回</a>
                                    </div>
                                </div>
                            </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <!-- END CONTENT BODY -->

</@page.mainTemplate>